package com.banyuan.课堂练习.IO流;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class test {
    public static void main(String[] args) {
        try (FileInputStream in = new FileInputStream("aaa_1.txt");
             FileInputStream in2 = new FileInputStream("aaa_2.txt")) {
            System.out.println(in.available());
            System.out.println(in2.available());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
